//
//  ZBMoBanThreeFotterView.m
//  MoBan
//
//  Created by apple on 16/7/11.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "ZBMoBanThreeFotterView.h"
@interface ZBMoBanThreeFotterView()
@property(nonatomic,strong)UILabel *lable;
@property(nonatomic,strong)UIImageView *imageview;
@end
@implementation ZBMoBanThreeFotterView
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self addUI];
    }
    return self;
}
-(void)addUI
{
    self.lable = [[UILabel alloc]init];
    [self addSubview:self.lable];
    self.lable.text = @"猜你喜欢";
    self.imageview = [[UIImageView alloc]init];
    self.imageview.backgroundColor = [UIColor blackColor];
    [self addSubview:self.imageview];
    
}
-(void)layoutSubviews
{
    [super layoutSubviews];
    
    self.lable.frame = CGRectMake(10*Kscr, 0, 80*Kscr, self.height);
    self.imageview.frame = CGRectMake(self.lable.right, 10*Kscr, 20*Kscr, 20*Kscr);
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
